﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper.Contrib.Extensions;

namespace pinduoduo.Model
{
    public  class PddAddress
    {
        public string name { get; set; }
      
        public string mobile { get; set; }
      
        public int province_id { get; set; }
  
        public int city_id { get; set; }
        
        public int district_id { get; set; }
        
        public string address { get; set; }
       
        public string is_default { get; set; }

        public string address_id { get; set; }

        public string uid { get; set; }

        //public bool check_region { get; set; }

        //public string anti_content { get; set; }
    }

    [Table("address")]
    public class PddAddressDBModel
    {
        [ExplicitKey]
        public string name { get; set; }

        public string mobile { get; set; }

        public string address { get; set; }
    }

}
